<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>TABPC001A</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/antigo/css/style.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/antigo/css/atributos.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/antigo/css/botoes.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/resources/antigo/css/bootstrap.min.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/resources/antigo/css/bootstrap-theme.min.css">
<script src="${pageContext.request.contextPath}/resources/antigo/js/jquery.min.js"></script>
<script src="${pageContext.request.contextPath}/resources/antigo/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/antigo/js/sispfuncoes.js"></script>
<script type="text/javascript">
	botoes = "1000000000";
</script>
</head>
<body onunload="">
	<form id="form" action="${ tabpc001A.navegar }" method="post">
		<jsp:include page="/resources/antigo/include/header.jsp" />
		<div id="conteudo">
			<div class="content">
				<center>
					<div id="container" style="height: auto; width: 800px; float: inherit;">
						<div id="espaco" style="height: 75%; width: 100%; margin: 0 auto;">
							<br />
							<div class="row">
								<div align="left" class="col-lg-1" style="width: 75px; float: left">
									<label class="control-label">GEJUSPC</label>
								</div>
								<div align="left" class="col-lg-8" style="width: 635px; float: left">
									<label class="control-label"> - GERENCIA DA JUSTICA, SEGURANCA PUBLICA E CIDADANIA </label>
								</div>
								<div align="right" style="width: 100px; float: left">
									<label class="control-label">VER.: ${versao}</label>
								</div>
							</div>
							<div class="row">
								<div align="left" class="col-lg-1" style="width: 75px; float: left">
									<label class="control-label">STI</label>
								</div>
								<div align="left" class="col-lg-1" style="width: 570px; float: left">
									<label class="control-label">- SUBGERENCIA DE TECNOLOGIA DA INFORMACAO </label>
								</div>
								<div align="left" class="col-lg-1" style="width: 65px; float: left">
									<input type="text" id="operacao" onkeypress="return enviar(this, event)" style="text-transform: uppercase" name="tabpc001A.operacao" class="form-control input-cb" value="${tabpc001A.operacao}" maxlength="3" size="3" />
								</div>
								<div align="right" style="width: 100px; float: left">
									<label class="control-label">${dataCorrente}</label>
								</div>
							</div>
							<div class="row">
								<div align="left" class="col-lg-1" style="width: 75px; float: left">
									<label class="control-label">SISP</label>
								</div>
								<div align="left" class="col-lg-8" style="width: 635px; float: left">
									<label class="control-label">- SUBGERENCIA DE TECNOLOGIA DA INFORMACAO </label>
								</div>
								<div align="right" style="width: 100px; float: left">
									<label class="control-label">${horaCorrente}</label>
								</div>
							</div>
							<div class="row">
								<div align="left" class="col-lg-1" style="width: 75px; float: left">
									<label class="control-label">IIC</label>
								</div>
								<div align="left" class="col-lg-8" style="width: 565px; float: left">
									<label class="control-label">- INSTITUTO DE IDENTIFICACAO / MODULO DE APOIO </label>
								</div>
							</div>
							<label class="corpo_c">_________________________________________________________________________________________</label>
							<br />
							<br />
							<div class="row">
								<div align="center" class="col-lg-1" style="width: 800px; float: left">
									<label class="control-label">CONSULTA TABELA DE APOIO</label>
								</div>
							</div>
							<br />
							<br />
							<br />
							<br />
							<div class="row">
								<div align="center" class="col-lg-1" style="width: 800px; float: left">
									<label class="control-label">SELECIONE A OPERACAO</label>
								</div>
							</div>
							<br />
							<br />
							<div class="row">
								<div align="left" class="col-lg-1" style="width: 250px; float: left">
									<label class="control-label"> </label>
								</div>
								<div align="left" class="col-lg-1" style="width: 550px; float: left">
									<label class="control-label"> CTC =&gt; CONSULTA PELO CODIGO DO ELEMENTO </label>
								</div>
							</div>
							<br />
							<div class="row">
								<div align="left" class="col-lg-1" style="width: 250px; float: left">
									<label class="control-label"> </label>
								</div>
								<div align="left" class="col-lg-1" style="width: 550px; float: left">
									<label class="control-label"> CTD =&gt; CONSULTA PELA DESCRICAO DO ELEMENTO </label>
								</div>
							</div>
							
							
							<br/>
					<div id="tabpc001B" style="">
						<br />
						<label class="control-label">INFORME ESTADO(UF):</label>
						<label class="corpo_c"> </label>
						<input type="text" id="uf" name="tabpc001A.uf" class="corpo_v" value="${tabpc001A.uf}" maxlength="2" size="2" onfocus="document.getElementById('tabpc001B').style.display = 'block';" />
						<label class="control-label">BRANCO = TODOS</label>
						<br />
					</div>
					<div id="tabpc001C" style="">
						<br />
						<label class="control-label">INFORME OPCAO:</label>
						
						<input type="text" id="jopcao" onkeypress="return somenteNumero(event)" name="tabpc001A.jopcao" class="corpo_v" value="${tabpc001A.jopcao}" maxlength="1" size="1" onfocus="document.getElementById('tabpc001C').style.display = 'block';" />
						<br />
						<br />
						<label class="control-label">A - ATIVOS |  E - EXCLUIDOS   | BRANCO = TODOS</label>
						<br />

					</div>
							
							<br />
							<div class="row">
								<div align="center" class="col-lg-1" style="width: 80px; float: left">
									<label class="control-label"></label>
								</div>
								<div align="left" class="col-lg-1" style="width: 75px; float: left">
									<label class="control-label">CODIGO TABELA</label>
								</div>
								<div align="left" class="col-lg-1" style="width: 550px; float: left">
									<label class="control-label">CODIGO/DESCRICAO DO ELEMENTO</label>
								</div>
							</div>
							<br />
							<div class="row">
								<div align="center" class="col-lg-1" style="width: 80px; float: left">
									<label class="control-label"></label>
								</div>
								<div align="left" class="col-lg-1" style="width: 75px; float: left">
									<input type="text" id="codtab" onkeypress="return somenteNumero(event)" name="tabpc001A.codtab" class="form-control input-cb" value="${tabpc001A.codtab}" maxlength="3" size="3" />
								</div>
								<div align="left" class="col-lg-1" style="width: 550px; float: left">
									<input type="text" id="descri" name="tabpc001A.descri" class="form-control input-cb" value="${tabpc001A.descri}" maxlength="40" size="40" />
								</div>
							</div>
							<br />
							<br />
							<label class="corpo_c">______________________________________________________________________________________________________________________________________</label>
							<div class="row">
								<div align="center" class="col-lg-4" style="width: 200px; float: left">
									<label class="control-label">ESC p/ Voltar</label>
								</div>
								<div align="center" class="col-lg-1" style="width: 430px; float: left">
									<label class="control-label">${empresa} - ${programa}</label>
								</div>
								<div align="center" class="col-lg-1" style="width: 200px; float: right">
									<label class="control-label">CTRL + Z p/ Sair</label>
								</div>
							</div>
							<br />
							<div class="row">
								<label class="control-label mensagem" id="mensagem">${tabpc001A.mensagem}</label>
							</div>
							<input type="hidden" id="funcao" name="tabpc001A.funcao" value="${ tabpc001A.funcao }" maxlength="1" size="1" />
							<input type="hidden" id="campofocus" name="tabpc001A.campofocus" value="${ tabpc001A.campofocus }" maxlength="30" size="30" />
							<input type="hidden" id="navegar" name="tabpc001A.navegar" value="${ tabpc001A.navegar }" />
							<br />
						</div>
					</div>

				</center>
			</div>
		</div>
		<jsp:include page="/resources/antigo/include/footer.jsp" />
	</form>
</body>
</html>
